package com.ycxy.school.express.web.enums;

import lombok.Getter;

/**
 * 是否开起评论枚举
 */
@Getter
public enum OrderEvaluateEnum {
    /**
     * 开启
     */
    open(1, "开启"),
    /**
     * 关闭
     */
    close(0, "关闭");

    private Integer type;

    private String name;


    OrderEvaluateEnum(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getValue() {
        return this.type;
    }

}
